/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
    path: '/person',
    component: Layout,
    redirect: '/person/performance',
    alwaysShow: true, // will always show the root menu
    name: 'person',
    meta: {
        title: '我的',
        icon: 'permission'
    },
    children: [
        {
            path: '/person/index',
            name: 'performance',
            component: () => import('@/views/person/index.vue'),
            meta: { title: '我的绩效', icon: 'personnel' },
        },{
            path: '/person/pastIndex',
            name: 'pastPerformance',
            component: () => import('@/views/person/pastIndex.vue'),
            meta: { title: '我的历史绩效', icon: 'personnel' },
        },
		{
		    path: '/person/myokr',
		    name: 'myokr',
		    component: () => import('@/views/person/myokr.vue'),
		    meta: { title: '我的okr', icon: 'personnel' },
		},
		{
		    path: '/person/partTimeReward',
		    name: 'partTimeReward',
		    component: () => import('@/views/person/partTimeScore.vue'),
		    meta: { title: '兼职绩效评分', icon: 'personnel' },
		},
		{
		    path: '/person/approval',
		    name: 'historyApproval',
		    component: () => import('@/views/person/approval.vue'),
		    meta: { title: '我的审批记录', icon: 'personnel' },
		},
		{
			path: '/person/fourthDetail',
			name: 'fourthDetail',
			component: () => import('@/views/person/components/fourthDetail.vue'),
			meta: { title: '评分和初审记录详情', icon: 'personnel' },
			hidden: true,
		},{
			path: '/person/thirdDetail',
			name: 'thirdDetail',
			component: () => import('@/views/person/components/thirdDetail.vue'),
			meta: { title: '复审记录详情', icon: 'personnel' },
			hidden: true,
		},{
			path: '/person/secondDetail',
			name: 'secondDetail',
			component: () => import('@/views/person/components/secondDetail.vue'),
			meta: { title: '终审记录详情', icon: 'personnel' },
			hidden: true,
		},
	
    ]
}